package com.etung.iot.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etung.iot.demo.modles.VariantEntity;
import com.etung.iot.demo.vo.req.VariantQuery;
import com.etung.iot.demo.vo.resp.VariantRealData;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface VariantMapper extends BaseMapper<VariantEntity> {
    List<VariantRealData> selectVarRealData(@Param("variantQuery") VariantQuery variantQuery);
    List<VariantRealData> selectVarInfo(@Param("variantQuery") VariantQuery variantQuery);
    List<String> selectVarIdByImei(@Param("imei") String imei);
    List<String> selectVarIdByDeviceId(@Param("imei") String imei, @Param("deviceId") Integer deviceId);
}
